4 //assert(freopen("erdos.in", "r", stdin) != NULL);
5 long long n
,x
,y
,aux
,nmedios
,num
,dem
,aux1
;
7 while(scanf("%lld",&n
)==1 && n
){
8 /* bool encontrados=false;*/
11 puts("1716 5401 4388874204");
14 puts("3404 8140 898749610");
19 printf("%lld %lld %lld\n",n
,(n
/3 +1),(n
/3 +1)*n
);
23 for(x
=n
/4;x
<=nmedios
;++x
){
27 if(num
>0 && dem
>0 && num
%dem
==0){
28 /*encontrados= true;*/
30 printf("%lld %lld %lld\n",x
,y
,num
/dem
);
35 for(y
=aux
;y
<=2*aux
;y
+=n
){
38 if(num
>0 && dem
>0 && num
%dem
==0){
39 /* enc ontrados=true;*/
41 printf("%lld %lld %lld\n",x
,y
,num
/dem
);
50 printf("%lld %lld %lld\n",n
/2,n
,n
);